from modelscope.hub.snapshot_download import snapshot_download

model_dir = snapshot_download('qwen/Qwen-1_8B-Chat', cache_dir='/datasets/fengjiahao/nlp/',revision='v1.0.0')